using SqlSugar;
using System;

namespace B.S.DataBase.MyProject.Domain.ZJWWorkOrderTwo
{
    /// <summary>
    /// 门诊收费表，记录患者门诊费用结算信息
    /// </summary>
    [SugarTable("OutpatientCharge")]
    public class OutpatientCharge : B.S.DataBase.MyProject.Domain.wdx.Audit
    {
        /// <summary>
        /// 主键，自增
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int ChargeId { get; set; }

        /// <summary>
        /// 挂号Id（外键，关联Registration）
        /// </summary>
        public int RegistrationId { get; set; }

        /// <summary>
        /// 费用总额
        /// </summary>
        public decimal TotalAmount { get; set; }

        /// <summary>
        /// 支付方式（医保卡/银行卡/移动支付等）
        /// </summary>
        public string PaymentMethod { get; set; }

        /// <summary>
        /// 电子发票号
        /// </summary>
        public string InvoiceNumber { get; set; }

        /// <summary>
        /// 费用明细
        /// </summary>
        public string FeeDetails { get; set; }

        /// <summary>
        /// 退费状态（正常/已退费）
        /// </summary>
        public string RefundStatus { get; set; }

        /// <summary>
        /// 收费时间
        /// </summary>
        public DateTime ChargeDate { get; set; }
    }
} 